﻿using System.Diagnostics.Contracts;
using IMModel.Domain.Common;

namespace IMModel.Domain
{
    public partial class Section : IIndexObject
    {
        public IndexObjectType ObjectType
        {
            get { return IndexObjectType.Section; }
        }

        public bool IsNauchnajaDejatelnostj { get { return IDSection == 78; } }

        public bool IsVospitanieNauchnihKadrov { get { return IDSection == 42; } }
    }
    public partial class Category : IIndexObject
    {
        public IndexObjectType ObjectType
        {
            get { return IndexObjectType.Category; }
        }
    }
    public partial class Characteristic : IIndexObject
    {
        public IndexObjectType ObjectType
        {
            get { return IndexObjectType.Characteristic; }
        }
    }
    public partial class Department : IIndexObject
    {
        public IndexObjectType ObjectType
        {
            get { return IndexObjectType.Department; }
        }
    }
    public partial class Respondent : IIndexObject
    {
        public IndexObjectType ObjectType
        {
            get { return IndexObjectType.Respondent; }
        }
    }
}
